package com.attendance.sz.utils;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

public class TagEntity implements Serializable, Parcelable {
	public TagEntity()
	{
		
	}
	
	public String tag;
	public void setTag(String tag)
	{
		this.tag=tag;
	}
	
	public String getTag()
	{
		return tag;
	}
	
	public String len;
	public void setLen(String len)
	{
		this.len=len;
	}
	
	public String getLen()
	{
		return len;
	}
	
	public String value;
	public void setValue(String value)
	{
		this.value=value;
	}
	
	public String getValue()
	{
		return value;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(this.tag);
		dest.writeString(this.len);
		dest.writeString(this.value);
	}

	protected TagEntity(Parcel in) {
		this.tag = in.readString();
		this.len = in.readString();
		this.value = in.readString();
	}

	public static final Parcelable.Creator<TagEntity> CREATOR = new Parcelable.Creator<TagEntity>() {
		public TagEntity createFromParcel(Parcel source) {
			return new TagEntity(source);
		}

		public TagEntity[] newArray(int size) {
			return new TagEntity[size];
		}
	};
}
